class Student:
    school = "湘潭大学"
    def __init__(self, name, age):
        self.name = name
        self.age = age

    def show(self):
        print(self.name, self.age)

    def run(self):
        print(self.name, '正在运动')

    def read(self):
        print(self.name, '正在读书')

s1 = Student('张三', 18)
print(s1.__dict__)
print(Student.__dict__)
